/**
 * 菜单类型定义
 */
export interface MenuItem {
  id: number
  key: string
  path?: string
  name: string
  icon?: string
  children?: MenuItem[]
  permission?: string[] | string
  hidden?: boolean
  breadcrumbHidden?: boolean
  component?: string
  meta?: {
    title: string
    keepAlive?: boolean
    affix?: boolean
    closable?: boolean
  }
}

/**
 * 面包屑项类型
 */
export interface BreadcrumbItem {
  key: string
  name: string
  path?: string
}